/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package JavaAssignment;

import java.io.Serializable;

/**
 *
 * @author Ishaan
 */
public class TransactionRecord implements Serializable {

    private LinkList cart;
    private String serialID;

    /*
    public TransactionRecord(){
        serialID = null;
        cart = null;
    }
*/
    public TransactionRecord(String SID, LinkList cart) {
        serialID = SID;
        this.cart = cart;
    }

    public void setSerialID(String SID) {
        serialID = SID;
    }

    public String getSerialID() {
        return serialID;
    }

    public LinkList getCart() {
        return cart;
    }
}
